// 请求的基础地址
const base = "https://nideshop.bluej.cn/api/";
// 整合请求地址
const api = {
  loginByWeixin: base + "auth/loginByWeixin",
  index: base + "index",           // 首页
  goods_detail: base + "goods/detail", // 商品详情
  comment: base +"comment/post",  //评论功能
  catalog: base +"catalog/current",
  comment: base + "comment/list",
  cart: base + "cart/index",
  addcart: base + "cart/add",
  updata:base + "cart/update",
  checked: base + "cart/checked",
  delete: base + "cart/delete",
  submit: base + "cart/goodscount",
  addres: base + "region/list?parentId=" +1,
  save:base +"address/save",
  detail: base +"address/detail"
};
export default api;